package edu.zut.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.zut.pojo.ZyUser;
import org.springframework.stereotype.Repository;

import java.sql.Wrapper;

//BaseMapper 通用mapper  内置有CRUD
@Repository
public interface ZyUserMapper extends BaseMapper<ZyUser> {
    //自定义分页
    IPage<ZyUser> selectPageVo(IPage<ZyUser> page, String name);


    IPage<ZyUser> findByWrapper(Wrapper wrapper);

}
